class xxPage extends BaseScreen {
    public constructor() {
        super();
        this.skinName = "resource/eui_skins/xx.exml";
    }

	private img_z:eui.Image;
	private img_xx:eui.Image;

	public start(){
		// this.visible = false;
		 egret.Tween.removeTweens(this);
		this.visible = true;
		
		// egret.Tween.get(this,{loop:true}).to({ "x": 630}, 4000, egret.Ease.cubicIn).to({ "y": -20}, 1000, egret.Ease.cubicOut);
		// egret.Tween.get(this,{loop:true}).to({ "x": 650}, 2500, egret.Ease.cubicIn).wait(100);
		egret.Tween.get(this,{loop:true}).to({ "x": 650}, 3000,egret.Ease.cubicOut).wait(1000);
        // egret.Tween.get(this,{loop:true}).to({ "scaleX":utils.CoreData.instance.xx_max,
        // "scaleY":utils.CoreData.instance.xx_max,"alpha":1,y:168}, 1000).to({ "scaleX":utils.CoreData.instance.xx_min,
        // "scaleY":utils.CoreData.instance.xx_min,"alpha":utils.CoreData.instance.xx_alpha,y:170}, 1000);
		egret.Tween.get(this.img_z,{loop:true}).to({ "rotation": 360}, 2000);
	}

	public stop(){
		this.x = -this.img_xx.width;
		// this.x = -this.img_z.width*2;
		// this.y = 0;
        // this.scaleX = this.scaleY = utils.CoreData.instance.xx_min;
        // this.alpha = utils.CoreData.instance.xx_alpha;
		this.visible = false;
	}

}